<gm:page title="Criptare Wiki" authenticate="true">

  
  <div class="gm-app-header">
    <h1>Welcome to our great new wiki way to add new stuff to our website</h1>
  </div>

  <gm:data id="myData" mutable="true">
    <atom:feed>
      <atom:title>Sample</atom:title>
      <atom:entry>
        <atom:id>1</atom:id>
        <atom:title>Criptare Wiki Sample</atom:title>
        <atom:link rel="edit" href="1"/>
        <atom:link rel="photo" href="http://www.bridgeart.net/figs/icons/sample_wiki_48x48.gif"/>
        <atom:content>
          This text is editable.Any spam will be seriously punished....
          use at your own discretion..
          happy wiking .....
          
          criptare team
        </atom:content>
        
      </atom:entry>
      
    </atom:feed>
  </gm:data>

  <gm:list id="myList" data="${myData}" selection="false"
      template="myListTemplate"/>

  <gm:template id="myListTemplate">
    <table style="width:600px">
      <tr>
        <td style="padding-bottom:15px">
          <gm:create label="New"/>
        </td>
      </tr>
      <tr repeat="true">
        <td style="padding-right:20px">
          <gm:image ref="atom:link[@rel='photo']/@href" width="150"/>
          <p align="center">
            <b><gm:text ref="atom:title"/></b>
            <br/>
            
          </p>
        </td>
        <td style="padding-bottom:20px">
          <gm:textarea ref="atom:content"/>
          <p>
            <gm:editButtons text="true"/>
          </p>
        </td>
      </tr>
    </table>
  </gm:template>

</gm:page>
